package com.cosmic.pizza.dao;

import com.cosmic.pizza.pojo.Food;
import com.cosmic.pizza.pojo.Food_Img;

import java.util.List;

public interface FoodDao {
    List<Food> findByType(int start,int pageSize,int type);

    Food_Img findImg(Integer fid);

    Food findByFid(Integer fid);

    int countByType(int type);

    int countByFname(String fname);

    List<Food> findByFname(int start, int pageSize, String fname);

    void updateEval(int fid, String time, int evalsum, String sum);
}
